package com.kedacom.freedomLabel.label.column;

import com.gprinter.command.LabelCommand;

/**
 * @author licheng
 * @since 2019/11/28 19:18
 */
public class BarCodeLabelColumn extends LabelColumn<String> {

    public LabelCommand.BARCODETYPE barCodeType;
    public LabelCommand.READABEL readable;
    public LabelCommand.ROTATION rotation;
    public int height;

    public BarCodeLabelColumn(int x, int y, int height, String value) {
        this(x, y, LabelCommand.BARCODETYPE.CODE128, height, LabelCommand.READABEL.EANBEL,
                LabelCommand.ROTATION.ROTATION_0, value);
    }

    public BarCodeLabelColumn(int x, int y,
                              LabelCommand.BARCODETYPE barCodeType, int height,
                              LabelCommand.READABEL readable, LabelCommand.ROTATION rotation,
                              String value) {
        super(x, y, value);
        this.barCodeType = barCodeType;
        this.height = height;
        this.readable = readable;
        this.rotation = rotation;
    }
}